feat(hpc): complete Pumpkin shopping list — 5 gap fills + JIT noise codegen#33
Merged
Merged
Conversation
- noise_jit: Cranelift JIT codegen for multi-octave noise (baked freq/amp immediates, unrolled octave loop, external noise fn via FuncRef) - aabb: AVX-512 ray-packet slab test (16 AABBs/iter for projectile collision) - property_mask: multi-mask counting (crops/liquids/redstone in single pass, AVX-512 + scalar) - palette_codec: Bedrock XZY coordinate reorder + combined reorder-pack - byte_scan: NBT schema scanner (multi-tag SIMD byte scan + name verification) All 99 module tests pass. Both default and jit-native feature builds succeed. https://claude.ai/code/session_01CdqyUTUfjKZuk8YGJzv6LB
Add noise_cache HashMap to JitEngine for compile_noise/get_noise lifecycle. Import CachedNoiseKernel from noise_jit module. https://claude.ai/code/session_01CdqyUTUfjKZuk8YGJzv6LB
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fills all remaining gaps from the Pumpkin/Mindcraft jitson shopping list, bringing all 12 hotspots to full implementation in ndarray's HPC module.
New capabilities (+1,289 lines across 7 files):
JIT noise codegen (noise_jit.rs, 533 lines) — Cranelift IR for multi-octave Perlin. Unrolled octave loop with baked f64 freq/amp immediates. External base noise via FuncRef.
Ray-packet AVX-512 (aabb.rs, +155 lines) — 16-wide slab test for projectile collision.
Multi-mask tick counting (property_mask.rs, +162 lines) — crops/liquids/redstone in single pass. AVX-512: 8 states/iter × N masks.
Bedrock coordinate reorder (palette_codec.rs, +192 lines) — Java Y-major ↔ Bedrock XZY permutation + combined pack.
NBT schema scanner (byte_scan.rs, +234 lines) — multi-tag SIMD search + name verification. Batch mode for 1024-chunk regions.